package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 会员卡权益表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_vipcard_server")
@TableAlias("bvs")
@ApiModel(value="BusVipcardServer对象", description="会员卡权益表")
public class BusVipcardServer extends AbstractAllEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "vipcardServerId", type = IdType.ASSIGN_ID)
    private Long vipcardServerId;

    @ApiModelProperty(value = "卡种Id")
    private Long vipcardId;

    @ApiModelProperty(value = "服务Id")
    private Long serverId;

    @ApiModelProperty(value = "服务描述")
    private String serverDesc;

    @ApiModelProperty(value = "有效期")
    private String validDay;

    @ApiModelProperty(value = "有效期(1终身，2非终身 )")
    private Integer validDayType;

    @ApiModelProperty(value = "值")
    private String serverValue;

    @ApiModelProperty(value = "数值类型(1次，2金额）")
    private Integer numType;

    @ApiModelProperty(value = "计费方式（1期间卡 2计次卡）")
    private Integer billingWay;

    @ApiModelProperty(value = "(1已设置，2未设置)")
    private Integer isSet;

    @ApiModelProperty(value = "排序")
    private Integer serverSort;


}
